package com.ucode.model.hrm.convert;

import com.ucode.model.hrm.HrmResignationApply;
import com.ucode.model.hrm.form.HrmResignationApplyForm;
import com.ucode.model.hrm.vo.HrmResignationApplyVO;
import com.ucode.tool.base.Paginator;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface HrmResignationApplyConvert {

    HrmResignationApplyConvert INSTANCE = Mappers.getMapper(HrmResignationApplyConvert.class);

    HrmResignationApply convert(HrmResignationApplyForm form);

    HrmResignationApplyVO convert(HrmResignationApply bean);

    Paginator<HrmResignationApplyVO> convertPage(Paginator<HrmResignationApply> page);

    List<HrmResignationApplyVO> convertList(List<HrmResignationApply> list);
}


